import axios from 'axios';
import type { AxiosInstance, AxiosRequestConfig } from 'axios';

const config: AxiosRequestConfig = {
  baseURL: 'https://api.example.com',
  timeout: 1000,
};

const instance: AxiosInstance = axios.create(config);